Dynomotion

Group: DynoMotion Message: 13083 From: jackgiz@ymail.com Date: 4/5/2016
Subject: Slaved Axis

Tom,

I recently talked a friend into buying a Kflop and Kstep for his CNC with the understanding that I would help him get it running.  (Blind leading the blind).  His machine has a master/slave Y axis.  When I jog the Y axis both steppers turn but then the slave stepper pauses and turns again.  When I go to the Step Response screen and do a move, both motors seem to work correctly.  What am I doing wrong?


Also, the Z axis stepper won't move.  Is the EnableAxisDest set correctly?  If I move the stepper to the Y axis it moves.


Attached is a copy of my Init File.


Jack

  @@attachment@@
Group: DynoMotion Message: 13087 From: Tom Kerekes Date: 4/6/2016
Subject: Re: Slaved Axis [1 Attachment]
Hi Jack,

Very simple :-)

If you read through the code you are enabling Axis 1 twice but not Axis 2.  See your calls:

    EnableAxisDest(0,0);
    EnableAxisDest(1,0);
    EnableAxisDest(1,0);
    EnableAxisDest(2,0);

I believe Axis 3 is your Z axis (Axis 2 is a Slave).  So include the Z axis in the coordinate system not the slave.

Change:

    DefineCoordSystem(0,1,2,-1);

to:

    DefineCoordSystem(0,1,3,-1);

HTH
Regards
TK



On 4/5/2016 8:46 PM, jackgiz@... [DynoMotion] wrote:
 

Tom,

I recently talked a friend into buying a Kflop and Kstep for his CNC with the understanding that I would help him get it running.  (Blind leading the blind).  His machine has a master/slave Y axis.  When I jog the Y axis both steppers turn but then the slave stepper pauses and turns again.  When I go to the Step Response screen and do a move, both motors seem to work correctly.  What am I doing wrong?


Also, the Z axis stepper won't move.  Is the EnableAxisDest set correctly?  If I move the stepper to the Y axis it moves.


Attached is a copy of my Init File.


Jack


Group: DynoMotion Message: 13114 From: Jack Date: 4/7/2016
Subject: Re: Slaved Axis

Thanks Tom,

As usual, your suggestions worked perfectly.  Thanks.

Jack

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com]
Sent: Wednesday, April 06, 2016 12:56 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Slaved Axis

 

 

Hi Jack,

Very simple :-)

If you read through the code you are enabling Axis 1 twice but not Axis 2.  See your calls:

    EnableAxisDest(0,0);
    EnableAxisDest(1,0);
    EnableAxisDest(1,0);
    EnableAxisDest(2,0);

I believe Axis 3 is your Z axis (Axis 2 is a Slave).  So include the Z axis in the coordinate system not the slave.

Change:

    DefineCoordSystem(0,1,2,-1);

to:

    DefineCoordSystem(0,1,3,-1);

HTH
Regards
TK


On 4/5/2016 8:46 PM, jackgiz@... [DynoMotion] wrote:

 

Tom,

I recently talked a friend into buying a Kflop and Kstep for his CNC with the understanding that I would help him get it running.  (Blind leading the blind).  His machine has a master/slave Y axis.  When I jog the Y axis both steppers turn but then the slave stepper pauses and turns again.  When I go to the Step Response screen and do a move, both motors seem to work correctly.  What am I doing wrong?

 

Also, the Z axis stepper won't move.  Is the EnableAxisDest set correctly?  If I move the stepper to the Y axis it moves.

 

Attached is a copy of my Init File.

 

Jack

 


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7497 / Virus Database: 4545/11965 - Release Date: 04/05/16